<template>
  <div class="card">
    <div class="title">{{ title }}</div>
    <div class="split"></div>
    <div class="content" v-html="desc" />
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: "",
    },
    desc: {
      type: String,
      default: "",
    },
  },
  data() {
    return {};
  },
  components: {},
};
</script>
<style lang='scss' scoped>
.card {
  background: #fff;
  padding: 10px 10px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: darkgrey 2px 2px 10px 2px;
  margin-top: 10px;
  .title {
    font-weight: bold;
    font-size: 16px;
  }
  .split {
    width: 100%;
    background: #ccc;
    min-height: 1px;
    margin: 10px 0;
  }
  .content {
    font-size: 13px;
    color: #333;
    line-height: 2;
  }
}
</style>